package com.itheima.web;

import com.itheima.service.HaoZhenYanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HaoZhenYanController {
    @Autowired
    private HaoZhenYanService haoZhenYanService;

    @GetMapping("user/hzy")
    public String findAll() {
        return haoZhenYanService.findAll();
    }
}
